package Thread.Demo1;

public class Desk {
    /**
     * 用来控制生产者和消费者的执行
     */


    //桌子上是否有面条
    public static int foodFlag = 0;

    //要吃的总个数
    public static int count =10;

    //锁对象
    public static Object lock =new Object();

}
